package com.tamecode.bean.di;

public class Boss {

    private String name;

    private Car car;

    private Office office;

    public Boss() {
    }

    // 构造函数依赖一个Car实例
    public Boss(String name, Car car) {
        this.name = name;
        this.car = car;
    }

    public Boss(String name, Car car, Office office) {
        this.name = name;
        this.car = car;
        this.office = office;
    }

}
